<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户中心</title>
<%--公共jsp,包含通用css样式和js引用 --%>
 <%@ include file="/common/query.jsp"%>
<script>
        $(function(){
            init();
        });
		var values = [
		    {text:"登录错误",value:10}, {text:"登录成功",value:20},
            {text:"添加用户",value:30}, {text:"更新用户",value:40},{text:"删除用户",value:50},
            {text:"添加角色",value:60}, {text:"更新角色",value:70},{text:"删除角色",value:80},
            {text:"添加权限",value:90}, {text:"更新权限",value:100},{text:"删除权限",value:110}
						];
        function init(){
            var setting = {};
            var url ="";
            var columns = [
                {field:'id',title:'id',hidden:true},

                {field:'type',title:'操作方式',search:{type:"single"},
                    input :{type:"radio",value:values}
            	},
                {field:'content',title:'内容',search:{type:"single"},width:500},
                {field:"loginName",title:'操作人',search:{type:"single"}},
                {field:'name',title:'姓名',search:{type:"single"}},
                {field:'createTime',title:'操作时间',search:{type:"date"}}
            ];
            url='${base}/system/systemOperationLog/manager';
            //setting.singleSelec	t = true;
            createQuery('body',columns,{pager:true,edit:false,add:false,del:false},url);
        }
</script>
</head>
<body>
	  <div id="body"></div>
</body>
</html>